/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package ecarx.xsf.notificationcenter.sdk;

/**
 * FileName: BaseAPI.java <br>
 * Description : Launcher Controller API 基类<br>
 * Create Time: 2021/9/2 15:04 <br>
 * Update Time: 2021/9/2 15:04 <br>
 *
 * @since 1.0.0
 */
public abstract class BaseAPI {

    /**
     * API 版本号
     */
    public static final String VERSION = "1.0.0";


    /**
     * * Launcher Controller API 接口初始化
     * <p> 待回调返回 true 接口才能使用<br>
     *
     * @param callback {@link EASInitCallback} 初始化回调接口
     * @since 1.0.0
     */
    public abstract void init(EASInitCallback callback);

    /**
     * * 释放 Launcher Controller API 链路.
     *
     * @since 1.0.0
     */
    public abstract void release();

    /**
     * * 设置连接的服务.
     *
     * @param service {@link IEASLCService} 服务 Binder
     * @since 1.0.0
     */
    abstract void setEASLCService(IEASLCService service);

    /**
     * 获取连接的服务
     *
     * @return {@link IEASLCService} 服务 Binder
     */
    abstract IEASLCService getEASLCService();
}
